package cn.tedu.mapper;

import cn.tedu.pojo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zq
 * @version 1.0
 * @create 2024-08-03 15:24
 * @since jdk1.8
 */
@Mapper
public interface UserMapper {
    @Insert("insert into user(username,password,nickname,created) values(#{username},#{password},#{nickname},#{created})")
    void insertUser(User user);
}
